package cn.com.visionsky.bocsz.bda.webservice.handler.history_trans_query;

import cn.com.visionsky.bocsz.bda.webservice.util.DateXmlAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.Date;

/**
 * Created by 46043 on 2016/11/2.
 */
@XmlRootElement
public class FullTextRequest {
    private String accNoOrCardNo;
    private Date transDateBeg;
    private Date transDateEnd;
    private String queryField;

    @XmlElement
    public String getAccNoOrCardNo() {
        return accNoOrCardNo;
    }

    public void setAccNoOrCardNo(String accNoOrCardNo) {
        this.accNoOrCardNo = accNoOrCardNo;
    }
    @XmlJavaTypeAdapter(DateXmlAdapter.class)
    public Date getTransDateBeg() {
        return transDateBeg;
    }

    public void setTransDateBeg(Date transDateBeg) {
        this.transDateBeg = transDateBeg;
    }
    @XmlJavaTypeAdapter(DateXmlAdapter.class)
    public Date getTransDateEnd() {
        return transDateEnd;
    }

    public void setTransDateEnd(Date transDateEnd) {
        this.transDateEnd = transDateEnd;
    }

    @XmlElement
    public String getQueryField() {
        return queryField;
    }

    public void setQueryField(String queryField) {
        this.queryField = queryField;
    }
}
